package com.example.springbootdubboprovider.serviceimpl;

import com.alibaba.dubbo.config.annotation.Service;
import com.czk.service.IUserService;
import org.springframework.stereotype.Component;

/**
 * @Service(interfaceClass = IUserService.class)
 * 针对哪个接口提供服务IUserService的权限类名为提供服务的接口名
 * @Author:ChenZhangKun
 * @Date: 2020/9/14 15:01
 */
@Component
@Service(interfaceClass = IUserService.class)
public class IUserServiceImpl implements IUserService {
    @Override
    public String sayHello(String str) {
        return "czk "+str;
    }
}
